package top.wshape1.shiziapi.message.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.wshape1.shiziapi.message.domain.MessageBroadcastRead;

import java.util.List;

/**
 * @author Wshape1
 * @description 针对表【t_message_broadcast_read】的数据库操作Service
 * @since 2023-09-18 22:09:06
 */
public interface MessageBroadcastReadService extends IService<MessageBroadcastRead> {

    /**
     * 通过消息id和用户id获取读取信息
     *
     * @param msgId
     * @param userId
     */
    MessageBroadcastRead get(Long msgId, Long userId);

    List<Long> getMsgIdByUserId(Long userId);
}
